package com.ms3ds.mineInfo.api.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 开采任务对象 task
 * 
 * @author zlw
 * @date 2025-09-19
 */
public class Task extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 生产队名 */

    private Long teamId;
    @Excel(name = "生产队名")
    private String teamName;
    /** 任务类型 */
    @Excel(name = "任务类型")
    private Long taskType;

    /** 任务开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 计划开采量 */
    @Excel(name = "计划开采量")
    private Float planMining;

    /** 实际开采量 */
    @Excel(name = "实际开采量")
    private Float realMining;

    /** $column.columnComment */
    private String delFlag;

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTeamId(Long teamId) 
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }

    public void setTaskType(Long taskType) 
    {
        this.taskType = taskType;
    }

    public Long getTaskType() 
    {
        return taskType;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setPlanMining(Float planMining)
    {
        this.planMining = planMining;
    }

    public Float getPlanMining()
    {
        return planMining;
    }

    public void setRealMining(Float realMining)
    {
        this.realMining = realMining;
    }

    public Float getRealMining()
    {
        return realMining;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teamId", getTeamId())
            .append("taskType", getTaskType())
            .append("startTime", getStartTime())
            .append("planMining", getPlanMining())
            .append("realMining", getRealMining())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
